//导入request.js请求工具
import request from "@/utils/request.js"

//提供调用注册接口的函数
export const adminRegisterService = (registerData) =>{
     return request.post('/admin/register',registerData);
}

//提供调用登录接口的函数
export const adminLoginService = (registerData) =>{
    return request.post('/admin/login',registerData);
}

//提供退出登录接口的函数
export const logoutService = () =>{
    return request.post('/admin/logout')
}